package com.three.controller;

import javafx.fxml.FXML;
import javafx.scene.Scene;
import javafx.stage.Stage;

public class RegisterController {
    private Stage stage;
    private Scene scene;

    public void setPossibleScene(Stage stage, Scene... scene) {
        this.stage = stage;
        this.scene = scene[0];
    }

    @FXML
    public void back() {
        stage.setScene(scene);;
    }
}
